package myTeam.timeShop.service;

import java.util.List;

public interface GenericService <T,B extends Object> {
	T load(B id);

	T get(B id);

	List<T> findAll();

	void persist(T entity);

	B save(T entity);

	void saveOrUpdate(T entity);

	void delete(B id);

	void flush();
}
